package com.umgsai.thread.thread43;

/**
 * 两个线程拥有相同的初始值
 * @author Admin
 *
 */
public class Main {
	public static void main(String[] args) {
		try {
			for (int i = 0; i < 5; i++) {
				System.out.println("Main取值：" + Tools.t1.get());
				Thread.sleep(100);
			}
			Thread.sleep(5000);
			ThreadA a = new ThreadA();
			a.start();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
